using System;
using System.Collections.Generic; 
using System.Linq;  
using System.Text;
using System.Data.Linq.Mapping;
using System.Data.Linq;
using System.ComponentModel;

namespace MRSite.Entity
{

    /// <summary>
    /// 个人红包考核规则
    /// </summary>
     [Table(Name = "site_adward_hongbao")]
    public class SiteAdward_Hongbao : Entity
    { 
		/// <summary>
		///
		/// </summary>
		[Column(Name = "id", IsPrimaryKey = true, CanBeNull = false, IsVersion = true)]
		public override int id{ get; set; }

        /// <summary>
        ///会员等级值
        /// </summary>
        [Column(Name = "grade")]
        public int grade { get; set; }

        /// <summary>
        /// 最小贡献值  万
        /// </summary>
        [Column(Name = "price")]
        public Decimal  price { get; set; }

        /// <summary>
        /// 最大贡献值  万
        /// </summary>
        [Column(Name = "max_price")]
        public Decimal max_price { get; set; }

		/// <summary>
		/// 个人消费红包金额  奖励百分比
		/// </summary>
        [Column(Name = "jlper")]
        public decimal  jlper { get; set; } 

       

		/// <summary>
        /// 赠送矿机类型id
		/// </summary>
        [Column(Name = "kuangji_id")]
        public int kuangji_id { get; set; }



        /// <summary>
        /// 备注
        /// </summary>
        [Column(Name = "remark")]
        public String remark { get; set; }


        /// <summary>
        /// 类别 1：个人红包考核规则；2：个人ID共建值日变现手续费规则；3：企业ID共建值日变现手续费规则；4：个人ID共建值月变现手续费规则；5：企业ID共建值月变现手续费规则
        /// </summary>
        [Column(Name = "type")]
        public int type { get; set; } 

	 } 
}    

